<!DOCTYPE html>
<html lang="en">
<head>
	<link rel="icon" type="image/png" href="{{base_url}}/images/logo.png">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{navSub.cate.name}}-产品系列-{{site.name}}</title>
    <link rel="stylesheet" href="{{base_url}}/css/Product.css">
<style>
	.productlist a{
		color: black;
	}
</style>
</head>
<body>
    {{include './common/header.html'}}
    <div class="banner">
        <img src="{{base_url}}/images/brand_banner.png" alt="">
    </div>
	
    <!-- 头条文章 -->
    <div class="brand">
        <div class="left">
            <h2>{{article.parent_category.name}}</h2>
            <ul>
				{{each article.categoryList}}
					{{if article.now_category.id == $value.id}}
					<li class="btn4"><a style="color:blue" href="{{$value.path}}/index.html">{{$value.name}}</a></li> 
					{{else}}
					<li class="btn4"><a href="{{$value.path}}/index.html">{{$value.name}}</a></li> 
					{{/if}}
				{{/each}}
            </ul>
        </div>
        <div class="right">
            <div class="brand_item1">
                <p>>{{each position}}
                	{{if $index < position.length-1}}
                		<a href="{{$value.path}}/index.html">{{$value.name}}</a> >
                		{{else}}
                		<a  href="{{$value.path}}/index.html">{{$value.name}}</a>
                	{{/if}}
                {{/each}}</p>
    			
                <h2>{{article.title}}</h2>
                <div>
    				<p style="margin: 40px 0;">
    					 {{@ article.content}}
    				</p>
    			</div>
				<div style="text-align: center;margin-top:100px;margin-bottom:50px;">
					<p>上一篇：
						{{if pre}}
						<a href="{{pre.path}}/article-{{pre.id}}.html" class="c-666">
							{{pre.title}}
						</a>
						{{else}}
						真的没有了
						{{/if}}
					</p>
					<p class="mt-14">下一篇：
						{{if next}}
						<a href="{{next.path}}/article-{{next.id}}.html" class="c-666">
							{{next.title}}
						</a>
						{{else}}
						真的没有了
						{{/if}}
					</p>
				</div>
            </div>
        </div>
    </div>

    <!-- footer -->
    {{include './common/footer.html'}}

    <!-- 移动端导航 -->
    

</body>

</html>